package com.sdtw.bookshop.shop.service.impl;

import com.sdtw.bookshop.shop.bean.BookClassInfo;
import com.sdtw.bookshop.shop.mapper.BookClassMapper;
import com.sdtw.bookshop.shop.mapper.BookMapper;
import com.sdtw.bookshop.shop.service.BookClassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookClassServiceImpl implements BookClassService {
    @Autowired
    private BookClassMapper bookClassMapper;
    @Override
    public List<BookClassInfo> findAll() {
        return bookClassMapper.findAll();
    }
}
